
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>:: Shanti Chakra Foundation ::</title>
<link href="style.css" rel="stylesheet" type="text/css">

<style type="text/css">
<!--
.style1 {color: #FFFFFF}
.style2 {font-size: 36px}
.style4 {
	font-size: 24px;
	color: #FFFFFF;
}
-->
</style>
</head>
<script>
function Validate(form1)
{

if(document.getElementById("oldpass").value == "")
{
alert("Enter the Old Password");
return false;
}
if(document.getElementById("password").value == "")
{
alert("Enter Password");
return false;
}
if(document.getElementById("password1").value == "")
{
alert("Re Enter Password");
return false;
}
if(document.getElementById("cpass").value != document.getElementById("rpass").value )
{
alert("Password Mismatch");
return false;
}

return true ;
}
</script>
<body bgcolor="#0D62A2">


<p><a href = "UserAccount.jsp">Back</a></p>
<form name="form1" method="post" action="ChangePassword">
  <table width="314" align="center" bordercolor="#FFFFFF" class="greenlink_no_left_padding" >
 <tr>
    <td height="34" colspan="2" bgcolor="#333333"> <h3 align="center" class="style2  style1"><span class="redtext style4">Change Password</span></h3>
      </td>
    </tr>
  <tr>
    <td width="155" class="greenlink_no_left_padding"><strong>Enter Password </strong></td>
    <td width="147" class="greenlink_no_left_padding"><input name="oldpass" type="password" id ="oldpass"></td>
  </tr>
  <tr>
    <td class="greenlink_no_left_padding">New Password</td>
    <td class="greenlink_no_left_padding"><input name="password"  type="password" id ="password"></td>
  </tr>
   <tr>
    <td class="greenlink_no_left_padding">Re-Enter Password</td>
    <td class="greenlink_no_left_padding"><input name="password1"  type="password" id ="password1"></td>
  </tr>
 
  <tr>
    <td colspan="2" class="greenlink_no_left_padding" bgcolor="#D8F2C9" align="center">
	  <div align="center">
	    <input name='submit' type='submit' class="bluetext" onClick="return Validate(this.form)" value='Update'>
      </div></td>
    </tr>
</table>

</form>


</body>
</html>